﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text;
using System.Data.SqlClient;

namespace CMSApplication.Models
{
    public class ResourceModel
    {
        private byte[] _stream;
        private string _fileName;
        private string _mimeType;
        private int siteId;
        private int id;

        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        public int SiteId
        {
            get { return siteId; }
            set { siteId = value; }
        }
        
        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        public string MimeType
        {
            get { return _mimeType; }
            set { _mimeType = value; }
        }
        
        public byte[] Stream
        {
            get { return _stream; }
            set { _stream = value; }
        }
    }
}